package chp09;

public class Test9 {

    public static int jia(int a,int b){
        int num = a + b;
        return num;
    }

    public static int jian(int a,int b){
        int num = a - b;
        return num;
    }

    public static int cheng(int a,int b){
        int num = a * b;
        return num;
    }

    public static int chu(int a,int b){
        int num = a / b;
        return num;
    }
    public static void main(String[] args) {
        System.out.println(jia(10,2));
        System.out.println(jian(10,2));
        System.out.println(cheng(10,2));
        System.out.println(chu(10,2));

        int a = jia(10,2);
        System.out.println(a);
        int b = jian(10,2);
        System.out.println(b);
        int c = cheng(10,2);
        System.out.println(c);
        int d = chu(10,2);
        System.out.println(d);

    }
}
